package com.bookstore.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.util.List;

@Data
public class BookDTO {
    private Long id;
    private String title;
    private String author;
    private String publisher;
    private BigDecimal originalPrice;
    private BigDecimal price;
    private String status;
    private Integer stock;
    private String description;
    private String imageUrl;
    private Long categoryId;
    private String categoryName;
    private Integer salesCount;
    private Integer hotWeight;       // 热销权重
    private Integer recommendWeight;  // 推荐权重
    private Integer flashSaleWeight;  // 抢购权重
    private String degree;  // 新旧程度
    
    // 新增字段
    private String region;  // 出版地区
    private String format;  // 表现形式
    private String ageRange;  // 适读年龄
    private String conditionDesc;  // 品相
    private String appearance;  // 外观
    private String innerPages;  // 内页
    private String disinfection;  // 消毒
    private String style;  // 绘本风格
    private String length;  // 故事篇幅
    private String binding;  // 装帧形式
    private String previewImages;  // 图片列表，JSON字符串
    private List<String> previewImagesList;  // 图片列表，用于前端展示
}